home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 June: Reference Library / Dev.CD Jun 99 RL Disk 1.toast / What's New / Development Kits / Mac_OS_USB_DDK_v1.2 / Examples / USBKeypad / USBKeypad.make < prev    next >
Encoding:
Text File  |  1999-04-15  |  2.3 KB  |  76 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        USBKeypad.make
  3. #
  4. #    Contains:    Make file for Keyboard HID Module
  5. #
  6. #    Version:    xxx put version here xxx
  7. #
  8. #    Copyright:    © 1997-1998 by Apple Computer, Inc., all rights reserved.
  9. #
  10. MAKEFILE     = USBKeypad.make
  11. •MondoBuild• = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified
  12. Includes     = -i {USBInterfacesInternal},{USBInterfacesExternal}
  13. Sym•PPC      = -sym on 
  14. USBKeypadTarget    = {USBTargets}Drivers:USBHIDMacAllyTenKey
  15.  
  16. PPCCOptions  = {Includes} {Sym•PPC} {NeptuneCOptions}
  17.  
  18. LinkPPC        =    PPCLink
  19.  
  20. Objects•PPC    =    "{USBObjects}USBKeypad.c.o"                    ∂
  21.                 "{USBObjects}USBKeypadHeader.c.o"             ∂
  22.                 "{USBObjects}USBKeypadKeyIn.c.o"                 
  23.  
  24. USBKeypad ƒƒ "{USBReleaseExtensions}USBHIDMacAllyTenKey"  
  25.  
  26. "{USBReleaseExtensions}USBHIDMacAllyTenKey" ƒ  "{USBKeypadTarget}" 
  27.         duplicate -y "{USBKeypadTarget}"  {Targ}
  28.         
  29. {USBKeypadTarget}    ƒƒ    {•MondoBuild•}  {Objects•PPC}        ∂
  30.                 "{USBInterfacesInternal}USBClassDriver.exp"
  31.     delete -i "{Targ}.xcoff"
  32.     delete -i "{Targ}.dbg"
  33.     {LinkPPC}                                                    ∂
  34.         -map "{USBMapDir}USBHIDMacAllyTenKey.map"                ∂
  35.         -t 'ndrv'                                                ∂
  36.         -c 'usbd'                                                ∂
  37.         -o {USBKeypadTarget} {Sym•PPC}                         ∂
  38.         {Objects•PPC}                                             ∂
  39.         -xm sharedlibrary                                        ∂
  40.         -share context                                            ∂
  41.         -@export "{USBInterfacesInternal}USBClassDriver.exp"    ∂
  42.         "{USBLibraries}USBServicesLib"                             ∂
  43.         "{SharedLibraries}InterfaceLib"                     
  44.  
  45.  
  46. {USBKeypadTarget}    ƒƒ    "{USBInterfacesInternal}PackageVersion.h"    ∂
  47.                         "USBKeypadVersion.h"                ∂
  48.                         "USBKeypad.r"                        ∂
  49.                         {•MondoBuild•}
  50.     Rez                                                            ∂
  51.         -i "{USBInterfacesInternal}"                            ∂
  52.         -i "{RIncludes}"                                        ∂
  53.         "{RIncludes}Types.r"                                    ∂
  54.         "USBKeypad.r"                                        ∂
  55.         -a                                                        ∂
  56.         -o {Targ}
  57.         
  58. "{USBObjects}USBKeypadHeader.c.o"    ƒ    "USBKeypadHeader.c"                        ∂
  59.                                             "{USBInterfacesExternal}USB.h"                ∂
  60.                                             "{USBInterfacesInternal}PackageVersion.h"    ∂
  61.                                             "USBKeypadVersion.h"                    ∂
  62.                                             "USBKeypad.h"
  63.     {PPCC} USBKeypadHeader.c -o {Targ} {PPCCOptions}
  64.  
  65. "{USBObjects}USBKeypad.c.o"    ƒ    "USBKeypad.c"                                    ∂
  66.                                         "{USBInterfacesExternal}USB.h"                    ∂
  67.                                         "USBKeypad.h"
  68.     {PPCC} USBKeypad.c -o {Targ} {PPCCOptions}
  69.  
  70. "{USBObjects}USBKeypadKeyIn.c.o"    ƒ    "USBKeypadKeyIn.c"
  71.     {PPCC} USBKeypadKeyIn.c -o {Targ} {PPCCOptions}
  72.  
  73. Clean ƒƒ
  74.     Delete -i {Objects•PPC}
  75.     Delete -i {USBKeypadTarget} 
  76.     Delete -i "{USBReleaseExtensions}USBHIDMacAllyTenKey"